package com.frx.leetoffer;

import java.util.ArrayList;
import java.util.HashMap;

public class Main {

    static class Parent{
        public static int A = 1;
        static {

            A = 2;
        }
    }
    static class Sub extends Parent{
        public static int B = A;
    }

    public static void main(String[] args){
        System.out.println(Sub.B);
    }

}
